home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gMusicChannel, gPathToSound, fileDelimiter
- if not soundBusy(gMusicChannel) then
- sound playFile gMusicChannel, gPathToSound & "music" & fileDelimiter & "playagan.aif"
- end if
- end
-
- on keyDown
- global gNumPlayers
- set jKey to the keyPressed
- if (jKey = "1") or (jKey = "2") or (jKey = "3") then
- set gNumPlayers to value(jKey)
- go("Enter Name1")
- end if
- end
-